﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace DIST.LR.ZHJG.Pgybc.WCF.EntityClass
{
	/// <summary>
	/// T_CFG_KPIVALUE:实体类,指标值记录表
	/// </summary>
    [DataContract]
	public class TKPIVALUE
	{

		/// <summary>
		/// 主键
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual int ID
		{
            get;
            set;
		}
		/// <summary>
		/// 指标ID
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual int KPIID
		{
            get;
            set;
		}
		/// <summary>
		/// 统计开始时间
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual DateTime? STARTTIME
		{
            get;
            set;
		}
		/// <summary>
		/// 统计结束时间
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual DateTime? ENDTIME
		{
            get;
            set;
		}
		/// <summary>
		/// 统计值
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual double VALUE
		{
            get;
            set;
		}
		/// <summary>
		/// 记录方式；1手动填写，2根据数据模型计算
		/// </summary>
        [DataMember(IsRequired = true)]
		public virtual int VALUEORIGIN
		{
            get;
            set;
		}
        /// <summary>
        /// 指标名称
        /// </summary>
        [DataMember(IsRequired = true)]
        public virtual string NAME
        {
            get;
            set;
        }
        /// <summary>
        /// 统计值获取时间
        /// </summary>
        [DataMember(IsRequired = true)]
        public virtual DateTime CREATETIME
        {
            get;
            set;
        }
        /// <summary>
        /// 时间类型，1年 2 规划期 3 自定义时间段（季度？月份？还没太想好）
        /// </summary>
        [DataMember(IsRequired = true)]
        public virtual int DATETIMETYPE
        {
            get;
            set;
        }
	}
}

